using System;
using TodoApp.Models;

namespace TodoApp.Features.Tasks
{
    public class CreateTaskResult
    {
        public CreateTaskResult(bool taskCreated, TodoTask task)
        {
            Task = task;
            TaskCreated = taskCreated;
        }

        public bool TaskCreated { get; private set; }
        public TodoTask Task { get; private set; }
    }
}